package com.easy.mapper;

import com.easy.bean.ManagerBean;
import com.easy.bean.UserBean;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ManagerBeanDao {

    int add(@Param("param") ManagerBean managerBean);

    int del(@Param("id") Integer id);

    int edit(@Param("param") ManagerBean managerBean);

    ManagerBean one(@Param("id")Integer id);

    List<ManagerBean> all(@Param("param") ManagerBean managerBean);

    int pageCount(@Param("param") ManagerBean managerBean);

    List<ManagerBean> page(@Param("page") Page page, @Param("param") ManagerBean managerBean);

    ManagerBean getById(@Param("manager_id") String manager_id);
}
